package com.ruicar.afs.cloud.workflow.api.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

public enum AfsFlowRequestPath implements AfsBaseEnum {

    @AfsEnum(key = "/afs/workflow/startFlow", desc = "启动流程")
    START_FLOW,


    @AfsEnum(key = "/afs/workflow/taskSubmit", desc = "提交任务")
    TASK_SUBMIT,


    @AfsEnum(key = "/afs/workflow/taskReformist", desc = "任务改派")
    TASK_REFORMIST,


    @AfsEnum(key = "/afs/workflow/queryCmd", desc = "查询按钮列表")
    QUERY_CMD,


    @AfsEnum(key = "/afs/workflow/taskCallBack", desc = "撤回任务")
    TASK_CALL_BACK,


    @AfsEnum(key = "/afs/workflow/flowGiveUp", desc = "终止流程")
    FLOW_GIVE_UP,

    @AfsEnum(key = "/afs/workflow/queryFlowInstance", desc = "查询流程实例")
    QUERY_FLOW_INSTANCE,

    @AfsEnum(key = "/afs/workflow/queryAllNode", desc = "查询所有节点")
    QUERY_ALL_NODE,


    @AfsEnum(key = "/afs/workflow/pageQueryNode", desc = "分页查询节点")
    PAGE_QUERY_NODE,

    @AfsEnum(key = "/afs/workflow/pageQueryNodeUser", desc = "分页查询用户")
    PAGE_QUERY_NODE_USER,


    @AfsEnum(key = "/afs/workflow/addNodeUser", desc = "增加用户")
    ADD_NODE_USER,

    @AfsEnum(key = "/afs/workflow/changeTotalWeight", desc = "改变总权重")
    CHANGE_TOTAL_WEIGHT,

    @AfsEnum(key = "/afs/workflow/changeWeight", desc = "改变权重")
    CHANGE_WEIGHT,

    @AfsEnum(key = "/afs/workflow/clearTaskCount", desc = "清空待办")
    CLEAR_TASK_COUNT,

    @AfsEnum(key = "/afs/workflow/removeNodeUsers", desc = "移除任务节点处理人")
    REMOVE_NODE_USER,

    @AfsEnum(key = "/afs/workflow/moveUserToNode", desc = "处理人移到新节点")
    MOVE_USER_TO_NODE,


    @AfsEnum(key = "/afs/workflow/resumeFlowInstance", desc = "恢复流程异常")
    RESUME_FLOW_INSTANCE,


    @AfsEnum(key = "/afs/workflow/pauseFlowInstance", desc = "暂停流程")
    PAUSE_FLOW_INSTANCE,

}
